import { EggPlugin } from 'egg';

const plugin: EggPlugin = {
    // static: true,
    // nunjucks: {
    //   enable: true,
    //   package: 'egg-view-nunjucks',
    // },
    sequelize: {
        enable: true,
        package: 'egg-sequelize',
    },
    cors: {
        enable: true,
        package: 'egg-cors',
    },
    vaildate: {
        enable: true,
        package: 'egg-validate'
    },
    io:{
        enable:true,
        package:'egg-socket.io'
    },
    redis:{
        enable:true,
        package:'egg-redis'
    }
};

export default plugin;
